package com.huimingpay.transaction.mapper;

import com.huimingpay.transaction.dto.PayChannelDTO;
import com.huimingpay.transaction.entity.PayChannel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 86183
* @description 针对表【pay_channel】的数据库操作Mapper
* @createDate 2024-07-23 14:20:06
* @Entity com.huimingpay.transaction.entity.PayChannel
*/
public interface PayChannelMapper extends BaseMapper<PayChannel> {
    /**
     * 根据服务类型的code查询对应的支付渠道
     * @param platformChannelCode 平台服务类型code
     * @return 支付渠道列表
     */
    List<PayChannelDTO> selectPayChannelByPlatformChannel(@Param("platformChannelCode") String platformChannelCode);
}




